package mpay

class Registration {
    String firstName
    String lastName
    String gender
    Bank bankName
    String bankAccount
    Boolean isActiveAccount           // check with bank ws
    String mobile
    String password
    String confirmationCode
    Boolean isSuccessRegister

    static constraints = {
        confirmationCode(nullable: true)
        isActiveAccount(nullable: true)
        isSuccessRegister(nullable: true)
        mobile(unique: true)
    }
}
